<!DOCTYPE html>
<html class="no-js" lang="en">
    <head>
        <meta charset="ISO-8859-1">
        <title>DPD - Login</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="description" content="">
        <meta name="author" content="">
        <link rel="shortcut icon" href="<?php echo $this->Html->url('/tema/css/images/favicon.png') ?>">
        <!-- Le styles -->
        <?php echo $this->Html->css('/tema/css/twitter/bootstrap.css'); ?>
        <?php echo $this->Html->css('/tema/css/base.css'); ?>
        <?php echo $this->Html->css('/tema/css/twitter/responsive.css'); ?>
        <?php echo $this->Html->css('/tema/css/jquery-ui-1.8.23.custom.css'); ?>
        
        <?php echo $this->Html->script('/tema/js/plugins/modernizr.custom.32549.js') ?>
        <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
        <!--[if lt IE 9]>
              <script src="../../../html5shim.googlecode.com/svn/trunk/html5.js"></script>
              <![endif]-->
        <?php echo $this->fetch('meta');
		echo $this->fetch('css');
		echo $this->fetch('script'); ?>
    </head>

    <body>
        
        <?php echo $content_for_layout; ?>
       
        <!-- End #loading --> 

        <!-- Le javascript
            ================================================== --> 
        <!-- Placed at the end of the document so the pages load faster --> 

        <!-- Flip effect on login screen --> 
        <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script> 
        <?php echo $this->Html->script('/tema/js/plugins/jquerypp.custom.js') ?>
        <?php echo $this->Html->script('/tema/js/plugins/jquery.bookblock.js') ?>
        <?php echo $this->Html->script('/tema/js/plugins/jquery.uniform.min.js') ?>
        <script type="text/javascript">
            $(function() {
                var Page = (function() {

                    var config = {
                        $bookBlock: $( '#bb-bookblock' ),
                        $navNext  : $( '#bb-nav-next' ),
                        $navPrev  : $( '#bb-nav-prev' ),
                        $navJump  : $( '#bb-nav-jump' ),
                        bb        : $( '#bb-bookblock' ).bookblock( {
                            speed       : 800,
                            shadowSides : 0.8,
                            shadowFlip  : 0.7
                        } )
                    },
                    init = function() {

                        initEvents();
              
                    },
                    initEvents = function() {

                        var $slides = config.$bookBlock.children(),
                        totalSlides = $slides.length;

                        // add navigation events
                        config.$navNext.on( 'click', function() {
                            $("#arrow_register").fadeOut();
                            $(".not-member").slideUp();
                            $(".already-member").slideDown();
                            config.bb.next();
                            return false;

                        } );

                        config.$navPrev.on( 'click', function() {

                            $(".not-member").slideDown();
                            $(".already-member").slideUp();
                            config.bb.prev();
                            return false;

                        } );

                        config.$navJump.on( 'click', function() {
                
                            config.bb.jump( totalSlides );
                            return false;

                        } );
              
                        // add swipe events
                        $slides.on( {

                            'swipeleft'   : function( event ) {
                
                                config.bb.next();
                                return false;

                            },
                            'swiperight'  : function( event ) {
                
                                config.bb.prev();
                                return false;
                  
                            }

                        } );

                    };

                    return { init : init };

                })();

                Page.init();

            });
        </script> 
        <script type='text/javascript'>
 
            $(window).load(function() {
                $('#loading1').fadeOut();
            });
            $(document).ready(function() {
                $("input:checkbox, input:radio, input:file").uniform();


                $('[rel=tooltip]').tooltip();
                $('body').css('display', 'none');
                $('body').fadeIn(500);

                $("#logo a, #sidebar_menu a:not(.accordion-toggle), a.ajx").click(function() {
                    event.preventDefault();
                    newLocation = this.href;
                    $('body').fadeOut(500, newpage);
                });
                function newpage() {
                    window.location = newLocation;
                }
            });
      
    

        </script>
    </body>
</html>